package com.un.ebs.inventory.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/6/2 19:04
 */
@Getter
public enum OrderNoteTypeEnum implements IEnum {
    SaleOrder(0, "销售出库单"),
    PurchaseOrder(1, "采购收货单"),
    ProductionOrder(2, "生产订单"),
    InventoryPut(4, "入库单"),
    InventoryCollect(3, "领料单");


    @EnumValue
    private final int code;
    private final String desc;

    OrderNoteTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
